package cn.powertime.evaluation.service.impl;

import cn.powertime.evaluation.entity.CpsTopic;
import cn.powertime.evaluation.mapper.CpsTopicMapper;
import cn.powertime.evaluation.service.CpsTopicService;
import cn.powertime.evaluation.vo.RespTopicListVo;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 习题表 服务实现类
 * </p>
 *
 * @author liqi
 * @since 2019-09-23
 */
@Service
public class CpsTopicServiceImpl extends ServiceImpl<CpsTopicMapper, CpsTopic> implements CpsTopicService {

    @Autowired
    private CpsTopicMapper topicMapper;

    @Override
    public List<RespTopicListVo> automaticTopiclist(Long userId) {
        return this.topicMapper.selectTopiclist(userId);
    }
    
}
